<?php

class Users_Form_Message extends Zend_Form {

	public function init() {
		$this->setMethod('post');
		
		$message = $this->createElement('textarea', 'message');
		$message->setLabel(_('Сообщение:'));
		$message->setAttrib('cols', '64');
		$message->setAttrib('rows', '12');
		$message->addFilters(array('StringTrim','StripTags'));
		
		$submit = $this->createElement('submit', 'submit');
		$submit->setLabel(_('Отправить'));
		
		$this->addElements(array($message,$submit));
	}
}